package org.neptune.service.shiro.exception;

/**
 * @author lwl
 * @date 2019/10/22 15:03
 */
public class PrincipalIdNullException extends RuntimeException {

	private static final String MESSAGE = "Principal Id shouldn't be null!";

	public PrincipalIdNullException(Class clazz, String idMethodName) {
		super(clazz + " id field: " + idMethodName + ", value is null\n" + MESSAGE);
	}
}
